package com.HuiShou.mapper;

import java.util.List;

import com.HuiShou.domain.CollectionPoint;
import com.HuiShou.domain.CollectorOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * 接取订单Mapper接口
 * 
 * @author lyz
 * @date 2025-03-20
 */
public interface CollectorOrderMapper extends BaseMapper<CollectorOrder>
{
    /**
     * 查询接取订单
     * 
     * @param orderId 接取订单主键
     * @return 接取订单
     */
    public CollectorOrder selectCollectorOrderByOrderId(String orderId);

    /**
     * 查询接取订单列表
     * 
     * @param collectorOrder 接取订单
     * @return 接取订单集合
     */
    public List<CollectorOrder> selectCollectorOrderList(CollectorOrder collectorOrder);

    /**
     * 新增接取订单
     * 
     * @param collectorOrder 接取订单
     * @return 结果
     */
    public int insertCollectorOrder(CollectorOrder collectorOrder);

    /**
     * 修改接取订单
     * 
     * @param collectorOrder 接取订单
     * @return 结果
     */
    public int updateCollectorOrder(CollectorOrder collectorOrder);

    /**
     * 删除接取订单
     * 
     * @param orderId 接取订单主键
     * @return 结果
     */
    public int deleteCollectorOrderByOrderId(String orderId);

    /**
     * 批量删除接取订单
     * 
     * @param orderIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCollectorOrderByOrderIds(String[] orderIds);
}
